﻿using System;
using System.Collections.Generic;
using FNN.SourcePoints;

namespace FNN.Factories.SourcePoints
{
    public class CategorySourcePointFactory : SourcePointFactory
    {
        public override SourcePoint CreatePoint(string id)
        {
            return new CategorySourcePoint()
            {
                Coordinates = new Dictionary<string, double>(),
                CategoryId = Convert.ToInt32(id)
            };
        }
    }
}
